package test_try;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Class_T {
    public Class_T() {


    }

    public static void main(String[] args) {
//        String let = "abcd56";
//        int let1 = 644;
////        System.out.println(let1.indexOf(644));
//        StringBuffer st = new StringBuffer("zhang");
//        st.append("yang");
//        System.out.println(st);
        Date date = new Date();
        System.out.println(date);
        long tm = date.getTime();
        System.out.println(tm);
        SimpleDateFormat sm = new SimpleDateFormat("北京时间: yyyy年MM月dd日 HH:mm:ss E");
        String time = sm.format(date.getTime());
        System.out.println(time);
    }
}
